package com.Person;

/**
 * ClassName: StudentTset
 * Package:
 * Description:
 *
 * @Author 软件232班——欧阳昊淼
 * @Create 2024/9/4 16:20
 * @Version 17.0.2
 */
public class StudentTest {
    public static void main(String[] args) {
        Student stu = new Student();
        stu.setScoreCh(50);
        stu.setScoreEn(40);
        stu.setScoreMath(60);

        double aver = (stu.getScoreCh() + stu.getScoreEn() + stu.getScoreMath()) / 3;

        System.out.println(aver);
        System.out.println(stu.Max());
        System.out.println(stu.Min());

    }
}
